﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO;
using DTO;

namespace BUS
{
    public class busCuong
    {

        public DataTable dao_tatca(DateTime dtime, DateTime dtkt)
        {
            daoCuong daocuong = new daoCuong();
            return daocuong.dao_tatca(dtime, dtkt);

        }
        public DataTable dao_danhsachnguyenlieu(string tennl)
        {
            daoCuong daocuong = new daoCuong();
            return daocuong.dao_danhsachnguyenlieu(tennl);
        }
        public DataTable dao_thu2(string lbthu2, DateTime dtime, DateTime dtkt)
        {
            daoCuong daocuong = new daoCuong();
            return daocuong.dao_thu2(lbthu2, dtime, dtkt);
        }
        public DataTable dao_thu3(string lbthu3, DateTime dtime, DateTime dtkt)
        {
            daoCuong daocuong = new daoCuong();
            return daocuong.dao_thu3(lbthu3, dtime, dtkt);
        }
        public DataTable dao_thu4(string lbthu4, DateTime dtime, DateTime dtkt)
        {
            daoCuong daocuong = new daoCuong();
            return daocuong.dao_thu4(lbthu4, dtime, dtkt);
        }
        public DataTable dao_thu5(string lbthu5, DateTime dtime, DateTime dtkt)
        {
            daoCuong daocuong = new daoCuong();
            return daocuong.dao_thu2(lbthu5, dtime, dtkt);
        }
        public DataTable dao_thu6(string lbthu6, DateTime dtime, DateTime dtkt)
        {
            daoCuong daocuong = new daoCuong();
            return daocuong.dao_thu6(lbthu6, dtime, dtkt);
        }
        public DataTable dao_thu7(string lbthu7, DateTime dtime, DateTime dtkt)
        {
            daoCuong daocuong = new daoCuong();
            return daocuong.dao_thu7(lbthu7, dtime, dtkt);
        }
        public DataTable dao_chunhat(string lbcn, DateTime dtime, DateTime dtkt)
        {
            daoCuong daocuong = new daoCuong();
            return daocuong.dao_chunhat(lbcn, dtime, dtkt);
        }
        public DataTable LayDSThucDonDuTru()
        {
            daoCuong daocuong = new daoCuong();
            return daocuong.LayDSThucDonDuTru();
        }
        public bool ThemThucDonDuTru(ThucDonDuTru dto)
        {
            daoCuong daocuong = new daoCuong();
            return daocuong.ThemThucDonDutru(dto);
        }
        public void ThemCTThucDon(CTThucDon dto)
        {
            daoCuong daocuong = new daoCuong();
            daocuong.ThemCTThucDon(dto);
        }
         public DataTable bLayDSNVL(int MaDV)
        {
             daoCuong daocuong=new daoCuong();
             return daocuong.dLayDanhSachNVL(MaDV);
        }
    }
}
